package com.a09extendsdemo4;

public class OS extends Person {
    public void lunch() {
        eat();
        drink();
        super.eat();
        super.drink();
    }

    @Override
    public void eat() {
        System.out.println("吃意大利面");
    }

    @Override
    public void drink() {
        System.out.println("喝可乐");
    }
}
